-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (59 loc) · 1.46 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
---
services:
flyway:
image: 'flyway/flyway:7.3.1'
container_name: 'the-gear-of-seasons_flyway'
hostname: 'the-gear-of-seasons_flyway'
restart: 'no'
volumes:
- ./db/flyway_data/sql:/flyway/sql
- ./db/flyway_data/conf:/flyway/conf
networks:
- 'default'
profiles: ['tool']
postgres:
image: 'postgres:13-alpine'
container_name: 'the-gear-of-seasons_postgres'
hostname: 'the-gear-of-seasons_postgres'
restart: 'always'
environment:
POSTGRES_DB: 'the-gear-of-seasons'
POSTGRES_USER: 'the-gear-of-seasons'
POSTGRES_PASSWORD: 'the-gear-of-seasons'
POSTGRES_INITDB_ARGS: '--encoding=UTF8'
TZ: 'Asia/Tokyo'
PGTZ: 'Asia/Tokyo'
expose:
- '5432'
volumes:
- './var/postgres:/var/lib/postgresql/data:z'
- './db/helpers:/helpers'
networks:
- 'default'
tty: true
stdin_open: true
the-gear-of-seasons:
image: 'the-gear-of-seasons'
build:
context: '.'
container_name: 'the-gear-of-seasons_the-gear-of-seasons'
hostname: 'the-gear-of-seasons_the-gear-of-seasons'
restart: 'always'
environment:
OMOTE_HOST: 'hexe.net'
URA_HOST: 'ura.hexe.net'
DB_HOST: 'postgres'
TZ: 'Asia/Tokyo'
expose:
- '8888'
volumes:
- './_storage:/app/_storage'
- './_share:/share'
networks:
- 'default'
- 'planet-link'
networks:
default:
external: false
planet-link:
external: true