All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 23s
45 lines
1.1 KiB
YAML
45 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"
|
|
PORT: "4337"
|
|
SECRET: ""
|
|
REMOVE_TEST_EVENTS_AT: ""
|
|
CORS: "*"
|
|
RESEND: ""
|
|
ADMIN_EMAIL: admin@email.com
|
|
SMTP_HOST: ""
|
|
SMTP_PORT: ""
|
|
SMTP_USERNAME: ""
|
|
SMTP_PASSWORD: ""
|
|
VITE_API_URL: "http://localhost:4337"
|
|
|
|
volumes:
|
|
mysql-data:
|
|
|