-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (59 loc) · 1.37 KB
/
docker-compose.yml
File metadata and controls
64 lines (59 loc) · 1.37 KB
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
63
64
services:
app:
build: .
restart: unless-stopped
environment:
DATABASE_URL: postgresql://maas95:${DB_PASSWORD}@postgres:5432/maas95
TMDB_API_KEY: ${TMDB_API_KEY}
EMAIL_HOST: ${EMAIL_HOST}
EMAIL_PORT: ${EMAIL_PORT}
EMAIL_USER: ${EMAIL_USER}
EMAIL_PASS: ${EMAIL_PASS}
PLEX_URL: ${PLEX_URL}
PLEX_TOKEN: ${PLEX_TOKEN}
depends_on:
postgres:
condition: service_healthy
networks:
- internal
caddy:
image: caddy:2-alpine
restart: unless-stopped
ports:
- "8443:8443"
- "8444:8444"
volumes:
- /opt/maas95/Caddyfile:/etc/caddy/Caddyfile
- /opt/maas95/certs:/certs
networks:
- internal
anubis:
image: ghcr.io/techarohq/anubis:latest
restart: unless-stopped
environment:
TARGET: http://app:3000
BIND: 0.0.0.0:8923
DIFFICULTY: 5
USE_REMOTE_ADDRESS: "true"
networks:
- internal
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_USER: maas95
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: maas95
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U maas95"]
interval: 5s
timeout: 5s
retries: 5
networks:
- internal
volumes:
postgres_data:
networks:
internal: