iptfreedom/docker-compose.yml

29 lines
581 B
YAML
Raw Normal View History

2023-06-08 23:28:15 -04:00
version: '3.8'
services:
database:
image: yobasystems/alpine-mariadb
command: --tcp-keepalive-interval 10
restart: unless-stopped
environment:
MYSQL_DATABASE: iptfreedom
MYSQL_ROOT_PASSWORD: XTiMm5LkPACxyjJ4bXm5wXsFmHTwYDNY
volumes:
- /var/lib/mysql
server:
image: server
build:
context: .
2023-06-09 10:48:58 -04:00
dockerfile: ./docker/server.Dockerfile
2023-06-08 23:28:15 -04:00
restart: unless-stopped
tty: true
stdin_open: true
init: true
depends_on:
- database
ports:
- 25565:25565
- 25565:25565/udp
2023-06-09 10:48:58 -04:00
- 25765:25765