-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
37 lines (34 loc) · 894 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
37 lines (34 loc) · 894 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
services:
postgres:
image: postgres:17-alpine
container_name: manga-reader-postgres-dev
environment:
POSTGRES_DB: ${PG_MANGA_READER_DB}
POSTGRES_USER: ${PG_MANGA_READER_USER}
POSTGRES_PASSWORD: ${PG_MANGA_READER_PASSWORD}
ports:
- "127.0.0.1:${PG_PORT}:5432"
networks:
- manga-reader-postgres-network
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${PG_MANGA_READER_USER}"]
interval: 10s
timeout: 5s
retries: 5
garage:
image: dxflrs/garage:v2.3.0
container_name: manga-reader-garage-dev
command: ["/garage", "server", "--single-node"]
ports:
- "3900:3900"
volumes:
- garage-data:/data
- ./garage.toml:/etc/garage.toml:ro
volumes:
pgdata:
garage-data:
networks:
manga-reader-postgres-network:
driver: bridge