-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
32 lines (32 loc) · 1.04 KB
/
Copy pathcompose.yaml
File metadata and controls
32 lines (32 loc) · 1.04 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
# The production-like stack clients run. Attached to every release so the
# compose file and the image always match (ADR-0014). Every variable below has
# a default so this file validates in a freshly generated project, before a
# .env exists — the real values live in .env, written by install.sh.
#
# Empty on purpose: scaffold merges in one service per application (ADR-0022)
# and whichever database and cache were selected (ADR-0019), so a project ships
# exactly what it asked for rather than a service nothing connects to.
name: openmedia
services:
web:
image: ghcr.io/ttncode/openmedia-web:${IMAGE_TAG:-latest}
environment:
API_URL: http://api:8080
restart: always
ports:
- '${WEB_PORT:-8080}:8080'
depends_on:
api:
condition: service_healthy
api:
image: ghcr.io/ttncode/openmedia-api:${IMAGE_TAG:-latest}
env_file:
- path: .env
required: false
restart: always
ports:
- '127.0.0.1:${API_PORT:-8081}:8080'
volumes:
- openmedia-data:/data
volumes:
openmedia-data: