Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
65 lines
1.5 KiB
YAML
Executable File
65 lines
1.5 KiB
YAML
Executable File
volumes:
|
|
mariadb_data:
|
|
gem_home:
|
|
node_modules_home:
|
|
|
|
networks:
|
|
default:
|
|
|
|
services:
|
|
mariadb:
|
|
image: mariadb:11.7.2-noble
|
|
env_file: .env
|
|
restart: unless-stopped
|
|
volumes:
|
|
- mariadb_data:/var/lib/mysql
|
|
#- ./mysql:/var/lib/mysql"
|
|
ports:
|
|
- "${FORWARD_DB_PORT:-3306}:3306"
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD:-root}"
|
|
# MYSQL_ROOT_HOST: "%"
|
|
MYSQL_PORT: "${DB_PORT:-3306}"
|
|
MYSQL_DATABASE: "${DB_DATABASE:-aperonight}"
|
|
MYSQL_USER: "${DB_USERNAME:-aperonight}"
|
|
MYSQL_PASSWORD: "${DB_PASSWORD:-aperonight}"
|
|
#MYSQL_ALLOW_EMPTY_PASSWORD: 1
|
|
networks:
|
|
- default
|
|
#command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci
|
|
|
|
rails:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
env_file: .env
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./:/rails
|
|
- gem_home:/usr/local/bundle
|
|
- node_modules_home:/rails/node_modules
|
|
#- ./log:/var/log
|
|
#- ./log/supervisor:/var/log/supervisor
|
|
ports:
|
|
#- 80:80
|
|
- 3000:3000
|
|
#- 5000:5000
|
|
depends_on:
|
|
- mariadb
|
|
networks:
|
|
- default
|
|
#tty: true
|
|
#command: /opt/src/bin/dev
|
|
|
|
mailhog:
|
|
image: corpusops/mailhog:v1.0.1
|
|
# environment:
|
|
# - "mh_auth_file=/opt/mailhog/passwd.conf"
|
|
volumes:
|
|
- ./data/mailhog:/opt/mailhog
|
|
ports:
|
|
- 1025:1025 # smtp port 25
|
|
- 8025:8025 # web mail access
|
|
networks:
|
|
- default
|