forked from pi2-inspecao-cabo-de-aco/main-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (39 loc) · 883 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.6'
services:
postgres:
image: postgres:alpine
restart: always
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
POSTGRES_DB: "main-server_development"
# networks:
# - pi2
# server:
# build:
# context: .
# environment:
# NODE_ENV: development
# MY_IP: server
# PG_HOST: postgres
# PG_USER: "postgres"
# ports:
# - "4000:4000"
# - "30003:30003"
# networks:
# - pi2
# depends_on:
# - "postgres"
# stdin_open: true
# volumes:
# - ./:/server
# - static-files:/server/public
# - /server/node_modules
networks:
pi2:
name: pi2
volumes:
db_data: {}
static-files: