This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/docker-compose.dev.yml
2024-12-05 17:18:15 +11:00

30 lines
646 B
YAML

## Example Docker Compose configuration
##
## Use this as a template to set up docker-compose, or as guide to set up other
## orchestration services
services:
client:
image: szurubooru/client:latest
build: client
depends_on:
- server
environment:
BACKEND_HOST: server
BASE_URL:
volumes:
- ./client/public:/var/www
- "${MOUNT_DATA}:/data:ro"
ports:
- "${PORT}:80"
sql:
image: postgres:11-alpine
restart: unless-stopped
environment:
POSTGRES_USER:
POSTGRES_PASSWORD:
ports:
- 15432:5432
volumes:
- "${MOUNT_SQL}:/var/lib/postgresql/data"