3c4f3331d8
Jenkins Production Deployment
Reviewed-on: #8 Co-authored-by: Patrick Mueller <patrick@mueller-patrick.tech> Co-committed-by: Patrick Mueller <patrick@mueller-patrick.tech>
29 lines
770 B
YAML
29 lines
770 B
YAML
# Local dev only — not used in production/deployment. Spins up a MariaDB
|
|
# instance with the calendar (reconstructed dev schema, see docker/init's
|
|
# disclaimer), feedback, and tickets databases pre-seeded.
|
|
#
|
|
# Usage:
|
|
# docker compose -f docker-compose.dev.yml up -d
|
|
#
|
|
# Then point .env at:
|
|
# DB_HOST=127.0.0.1
|
|
# DB_USER=nachklang
|
|
# DB_PASSWORD=devpassword
|
|
# CALENDAR_DB=nachklang_calendar
|
|
# FEEDBACK_DB=nachklang_feedback
|
|
# TICKETS_DB=nachklang_tickets
|
|
services:
|
|
mariadb:
|
|
image: mariadb:11
|
|
environment:
|
|
MARIADB_ROOT_PASSWORD: rootdevpassword
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
- nachklang_dev_db:/var/lib/mysql
|
|
- ./sql:/migrations:ro
|
|
- ./docker/init:/docker-entrypoint-initdb.d:ro
|
|
|
|
volumes:
|
|
nachklang_dev_db:
|