-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-prod.yml
More file actions
49 lines (49 loc) · 964 Bytes
/
docker-compose-prod.yml
File metadata and controls
49 lines (49 loc) · 964 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
49
version: "3.5"
services:
proxy:
image: nginx:latest
container_name: proxy-nginx
links:
- backend
- martin
ports:
- "8080:80"
- "443:443"
depends_on:
- backend
volumes:
- ./nginx/default.conf/default.conf:/etc/nginx/conf.d/default.conf
networks:
- unc
restart: unless-stopped
martin:
image: urbica/martin
container_name: martin
hostname: martin
ports:
- "3000:3000"
restart: unless-stopped
environment:
WATCH_MODE: "true"
DANGER_ACCEPT_INVALID_CERTS: "true"
DATABASE_URL: "postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}/${PGDATABASE}"
networks:
- unc
backend:
build:
context: ./
container_name: backend
hostname: backend
ports:
- 8000:8000
networks:
- unc
env_file: .env
restart: unless-stopped
volumes:
unc-data-v1:
node_modules:
frontend:
networks:
unc:
driver: bridge