-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 977 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
version: "3"
services:
adminer:
image: adminer
depends_on:
- db
ports:
- 8080:8080
db:
image: postgres:13.0-alpine
environment:
POSTGRES_PASSWORD: tunkkitunkki
POSTGRES_DB: tunkkidb
POSTGRES_USER: tunkkibois
volumes:
- ./database-data:/var/lib/postgresql/data/
- ./back/sql/combined.sql:/docker-entrypoint-initdb.d/init.sql
front:
build: ./front
#ports:
# - 3000:5000
#volumes:
# - ./front/src:/client/src
back:
build: ./back
#ports:
# - 3001:3001
#volumes:
# - ./back/src:/back/src
infopage:
build: ./infopage
#ports:
# - 5000:5000
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
# - "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./back/certs:/etc/nginx/certs
- ./nginx.conf:/etc/nginx/nginx.conf
networks:
default:
driver: bridge