theocorp_docker_compose/operational/docker-compose.yml
geezo f8a943c876
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 22s
kjnb
2025-05-07 00:11:50 -04:00

48 lines
1.1 KiB
YAML

version: "3.8"
services:
mysql:
image: mysql:8.2
container_name: operational-mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: operational_root_password
MYSQL_DATABASE: operational
MYSQL_USER: operational_user
MYSQL_PASSWORD: operational_password
ports:
- "3307:3306" # host:container
volumes:
- mysql-data:/var/lib/mysql
operational:
image: ghcr.io/operational-co/operational.co:0.1.7
container_name: operational-app
depends_on:
- mysql
restart: always
ports:
- "1025:80" # For frontend (nginx serving the Vue SPA)
- "1027:4337" # For backend API
environment:
DATABASE_URL: mysql://operational_user:operational_password@mysql:3306/operational
APP_URL: "http://theocorp:1025"
VAPID_EMAIL: ""
VAPID_PUBLIC_KEY: ""
VAPID_PRIVATE_KEY: ""
PORT: "1027"
SECRET: ""
REMOVE_TEST_EVENTS_AT: ""
CORS: "*"
RESEND: ""
ADMIN_EMAIL: admin@email.com
SMTP_HOST: ""
SMTP_PORT: ""
SMTP_USERNAME: ""
SMTP_PASSWORD: ""
VITE_API_URL: "http://theocorp:1027"
volumes:
mysql-data: