forked from TreyWW/MyFinances
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.ci.yml
41 lines (39 loc) · 902 Bytes
/
docker-compose.ci.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
version: "3"
services:
myfinances_django:
restart: always
build:
context: .
ports:
- '9012:9012'
volumes:
- .:/myfinances
# - myfinances_static_volume:/mnt/static/
# networks:
# - myfinances_network
environment:
TEST: "True"
SECRET_KEY: mysecretkey
URL: 127.0.0.1
PROXY_IP: localhost
BRANCH: debug
DEBUG: "True"
# nginx:
# restart: always
# image: nginx:latest
# ports:
# - '10012:10012'
# depends_on:
# - myfinances_django
# networks:
# - myfinances_network
# volumes:
# - /var/run/docker.sock:/tmp/docker.sock:ro
# - myfinances_static_volume:/srv/http/static/
# - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
# command: /bin/bash -c "nginx -g 'daemon off;'"
#volumes:
# myfinances_static_volume:
#networks:
# myfinances_network:
# driver: bridge