This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
api/compose.yaml

28 lines
631 B
YAML
Raw Normal View History

2023-07-22 16:26:27 +02:00
services:
thream-api:
container_name: 'thream-api'
image: 'thream-api'
restart: 'unless-stopped'
network_mode: 'host'
build:
context: './'
env_file: '.env'
depends_on:
- 'thream-database'
thream-database:
container_name: 'thream-database'
2023-08-24 22:17:26 +02:00
image: 'postgres:15.4'
2023-07-22 16:26:27 +02:00
restart: 'unless-stopped'
network_mode: 'host'
env_file: '.env'
environment:
POSTGRES_USER: ${DATABASE_USER}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_DB: ${DATABASE_NAME}
volumes:
- 'thream-postgres-data:/var/lib/postgresql/data'
volumes:
thream-postgres-data: