-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
52 lines (50 loc) · 1.12 KB
/
docker-compose.dev.yml
File metadata and controls
52 lines (50 loc) · 1.12 KB
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
51
# This compose file is useful for testing https.
# The .env file sets ENVVARS for the Docker CLI used by this compose file.
---
version: "3"
services:
datastore:
build: ./datastore
dns:
- 8.8.8.8
- 8.8.4.4
stdin_open: true
tty: true
ports:
- 8050:8050
command: ["gunicorn", "--reload", "-b :8050", "-t 90", "app:app"]
container_name: datastore
hostname: datastore
volumes:
- ./datastore/src:/app
env_file:
- ./datastore/.env
networks:
- datastore_net
#datastore_client:
# build: ./datastore_client
# depends_on:
# - "datastore"
# ports:
# - 8050:8050
# dns:
# - 8.8.8.8
# - 8.8.4.4
# stdin_open: true
# tty: true
# command: ["gunicorn", "--reload", "-b :8050", "-t 90", "app:server"]
# container_name: datastore_client
# hostname: datastore_client
# volumes:
# - ./datastore_client/src:/app
# env_file:
# - ./datastore_client/.env
# networks:
# - datastore_net
networks:
datastore_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.238.0/24