-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (43 loc) · 1.21 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
version: "3.4"
services:
magicthegriddening:
container_name: mtg-ui
image: magicthegriddening
build:
context: .
dockerfile: ./dockerfile
environment:
NODE_ENV: production
ports:
- 3001:3000
postgres:
container_name: mtg-db
image: postgres:14-alpine
volumes:
- postgres-volume:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=griddening
puzzle-seeder:
container_name: mtg-seeder
image: ghcr.io/otherwisejunk/grid-the-seedening:main
environment:
- TZ=$TZ
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/griddening?schema=public
bsky-poster:
container_name: mtg-poster
image: ghcr.io/otherwisejunk/griddening-bsky-bot:main
environment:
- TZ=$TZ
- NODE_ENV=production
- BLUESKY_USERNAME=$BLUESKY_USERNAME
- BLUESKY_PASSWORD=$BLUESKY_PASSWORD
logging:
container_name: mtg-logger
image: griddeninglogger
environment:
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/griddening?schema=public
restart: on-failure
volumes:
postgres-volume: