Skip to content

Instantly share code, notes, and snippets.

@jcrashkit
Last active March 22, 2022 11:22
Show Gist options
  • Select an option

  • Save jcrashkit/04425d860968f1906fc869cd6586e71c to your computer and use it in GitHub Desktop.

Select an option

Save jcrashkit/04425d860968f1906fc869cd6586e71c to your computer and use it in GitHub Desktop.
tw
version: '3.2'
services:
mariadb:
image: mariadb:10
volumes:
- "mariadb-data:/var/lib/mysql"
- ./config/start.sql:/docker-entrypoint-initdb.d/start.sql
- ./config/eve_universe.sql:/docker-entrypoint-initdb.d/eve_universe.sql
restart: always
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_USER: ${DB_USERNAME}
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_DATABASE: ${DB_DATABASE}
networks:
- seat-network
logging:
driver: "json-file"
options:
max-size: "10Mb"
max-file: "5"
pathfinder:
restart: always
image: kryptedgaming/pathfinder:latest
env_file: .env
labels:
- traefik.enable=true
- traefik.http.routers.apache.rule=Host(`apache.docker`)
- traefik.http.routers.apache.entrypoints=web
- traefik.port=80
networks:
- seat-network
volumes:
database: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment