forked from GreaterWMS/GreaterWMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 868 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
version: '3.9'
networks:
basic:
services:
front:
build:
context: ./
dockerfile: Dockerfile
target: front
container_name: greaterwms_front
image: greaterwms/greaterwms:front
restart: always
privileged: true
ports:
- '8080:8080'
depends_on:
- backend
volumes:
- ./templates:/GreaterWMS/templates:rw
- ./web_start.sh:/GreaterWMS/templates/web_start.sh
networks:
- basic
backend:
build:
context: ./
dockerfile: Dockerfile
target: backend
container_name: greaterwms_backend
image: greaterwms/greaterwms:backend
restart: always
privileged: true
volumes:
- ./:/GreaterWMS/:rw
- ./supervisord.conf:/etc/supervisor/supervisord.conf
ports:
- '8008:8008'
environment:
PYTHONUNBUFFERED: 1
networks:
- basic