-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (50 loc) · 992 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
45
46
47
48
49
50
version: "3"
services:
db:
image: postgres:14
container_name: area_db
restart: always
env_file:
- "./postgres/.env"
volumes:
- area-db-data:/var/lib/postgresql/data
- ./postgres:/etc/postgresql/14/main
ports:
- "5432:5432"
# mobile:
# build: ./mobile
# container_name: area_mobile
# env_file:
# - "./mobile/.env"
# depends_on:
# - "server"
# volumes:
# - area-build:/tmp/build
server:
build: ./server
container_name: area_server
restart: always
ports:
- "8080:8080"
- "8443:8443"
env_file:
- "./server/.env"
network_mode: "host"
volumes:
- area-build:/tmp/build
depends_on:
- "db"
# web:
# build: ./web
# container_name: area_web
# restart: always
# env_file:
# - "./web/.env"
# network_mode: "host"
# ports:
# - "8081:8081"
# depends_on:
# - "server"
volumes:
area-db-data:
area-build: