backend/stack.yml

23 lines
494 B
YAML
Raw Normal View History

2020-06-09 18:14:49 +02:00
# Use root/example as user/password credentials
version: "3.1"
services:
db:
image: mariadb
restart: always
2020-08-24 10:18:42 +02:00
command: --init-file /data/application/init.sql
volumes:
- ./init.sql:/data/application/init.sql
2020-06-09 18:14:49 +02:00
environment:
MYSQL_ROOT_PASSWORD: example
2020-07-27 18:39:44 +02:00
expose:
- "3306"
ports:
- "3306:3306"
2020-06-09 18:14:49 +02:00
adminer:
image: adminer
restart: always
ports:
- 8080:8080