-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (47 loc) · 993 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
version: '3'
services:
db:
image: postgres:9.6.17-alpine
container_name: db
tty: true
restart: always
environment:
POSTGRES_USER: keywoo
POSTGRES_PASSWORD: keywoo
ports:
- "5432:5432"
volumes:
- database:/var/lib/postgresql/data
keywoo:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/ymmmtym/keywoo
container_name: keywoo
hostname: keywoo
tty: true
restart: always
links:
- db
volumes:
- .:/opt/keywoo
ports:
- "5000:5000"
environment:
WAIT_HOSTS: db:5432
https-portal:
image: steveltn/https-portal:1
container_name: https-portal
ports:
- '80:80'
- '443:443'
links:
- keywoo
restart: always
environment:
DOMAINS: 'keywoo.yumenomatayume.net -> http://keywoo:5000'
STAGE: 'production' # Don't use production until staging works
# FORCE_RENEW: 'true'
volumes:
database:
driver: local