2024-01-13 12:43:19 +00:00
|
|
|
version: '3.4'
|
|
|
|
|
|
|
|
name: wave
|
|
|
|
services:
|
|
|
|
web:
|
|
|
|
image: ${DOCKER_REGISTRY-}wave
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Wave/Dockerfile
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "80:8080"
|
|
|
|
links:
|
|
|
|
- database:db
|
|
|
|
environment:
|
|
|
|
- "WAVE_ConnectionStrings__DefaultConnection=Host=db; Username=wave; Password=development"
|
2024-01-13 12:59:50 +00:00
|
|
|
volumes:
|
|
|
|
- wave-files:/app/files
|
2024-01-13 12:43:19 +00:00
|
|
|
networks:
|
|
|
|
- wave
|
|
|
|
database:
|
|
|
|
image: postgres:16.1-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- "POSTGRES_DB=wave"
|
|
|
|
- "POSTGRES_USER=wave"
|
|
|
|
- "POSTGRES_PASSWORD=development"
|
2024-01-13 12:59:50 +00:00
|
|
|
volumes:
|
2024-01-14 11:55:05 +00:00
|
|
|
- wave-db:/var/lib/postgresql/data
|
2024-01-13 12:43:19 +00:00
|
|
|
networks:
|
|
|
|
- wave
|
|
|
|
|
2024-01-13 12:59:50 +00:00
|
|
|
volumes:
|
|
|
|
wave-files:
|
|
|
|
wave-db:
|
2024-01-13 12:43:19 +00:00
|
|
|
networks:
|
|
|
|
wave:
|