backend/stack.yml
2020-08-24 10:18:42 +02:00

23 lines
494 B
YAML

# Use root/example as user/password credentials
version: "3.1"
services:
db:
image: mariadb
restart: always
command: --init-file /data/application/init.sql
volumes:
- ./init.sql:/data/application/init.sql
environment:
MYSQL_ROOT_PASSWORD: example
expose:
- "3306"
ports:
- "3306:3306"
adminer:
image: adminer
restart: always
ports:
- 8080:8080