blob: 65a7847629cf0c957a639839080df8f94a02c392 (
plain)
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
|
## Template compose used for each stack.
name: ${STACK} # Explicit project name (do not rely on directory name)
networks:
edge-net:
name: ${EDGE_NET}
external: true # All networks MUST be external in production.
db-net:
name: ${DB_NET}
external: true
services:
news-test:
container_name: ${NEWS_CONTAINER} # Explicitly name containers.
image: freshrss/freshrss:latest
restart: unless-stopped
env_file:
# NOTE: .compose.env WILL override .env if there are overlapping values.
- .run.env # Compose wiring defaults go here
- .env # Service env vars
networks:
- edge-net
- db-net
expose:
- 80
extra_hosts:
- "${OIDC_PROVIDER_DOMAIN}:${PROXY_IP}" # This is required so the container can return the right uri after auth.
healthcheck:
test: ["CMD", "cli/health.php"]
timeout: 10s
start_period: 60s
start_interval: 11s
interval: 75s
retries: 3
|