-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (48 loc) · 941 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (48 loc) · 941 Bytes
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
version: '3'
services:
bd:
image: mariadb:11.3.2
restart: always
env_file:
- bd.env
volumes:
- ./data:/var/lib/mysql
app:
env_file:
- app.env
environment:
PATH_PREFIX: sec
build: ./app
restart: always
container_name: app
volumes:
- ./app/sistema_evaluacion_codigo:/code
depends_on:
- bd
nginx:
image: nginx
restart: always
volumes:
- ./config/nginx/conf.d:/etc/nginx/conf.d
- ./app/sistema_evaluacion_codigo/static_production:/static
- ./app/sistema_evaluacion_codigo/media:/media
depends_on:
- app
ports:
- 8000:80
environment:
PATH_PREFIX: sec
server:
build:
context: ./evaluador
volumes:
- ./evaluador:/app
networks:
- no-internet
networks:
no-internet:
internal: true
driver: bridge
ipam:
config:
- subnet: 10.1.1.0/24