-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (46 loc) · 1005 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
51
52
version: '3.1'
services:
mongodb:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
MONGO_INITDB_DATABASE: steganography
ports:
- 27017:27017
web:
build: .
image: steganography
restart: always
# command: gunicorn server.wsgi --user www-data --bind 0.0.0.0:8010 --workers 3
depends_on:
- mongodb
links:
- mongodb
ports:
- 8020:8020
# depends_on:
# - nginx
# - migration
# nginx:
# build: .
# image: steganography
# restart: always
# command: nginx -g "daemon off"
# ports:
# - 8020:8020
# migration:
# image: steganography
# command: python manage.py migrate
# links:
# - mongodb
# depends_on:
# - make_migrations
# make_migrations:
# image: steganography
# command: python manage.py makemigrations
# links:
# - mongodb
# depends_on:
# - mongodb