nginx-proxy-manager/docker/docker-compose.ci.mysql.yml
2024-05-21 13:06:24 +10:00

27 lines
617 B
YAML

# WARNING: This is a CI docker-compose file used for building and testing of the entire app, it should not be used for production.
services:
fullstack:
environment:
NPM_DB_DRIVER: 'mysql'
NPM_DB_HOST: 'db-mysql'
NPM_DB_PORT: '3306'
NPM_DB_USERNAME: 'npm'
NPM_DB_PASSWORD: 'npmpass'
NPM_DB_NAME: 'npm'
depends_on:
- db-mysql
db-mysql:
image: mysql:latest
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npmpass'
volumes:
- mysql_vol:/var/lib/mysql
volumes:
mysql_vol: