cloud/IasS/ex1-2/mysql/docker-compose.yml
2023-01-22 18:59:39 +01:00

22 lines
472 B
YAML

version: '3.9'
services:
db:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: gitea
MYSQL_USER: gitea
MYSQL_PASSWORD: gitea
MYSQL_ROOT_PASSWORD: gitea
ports:
- "10.10.10.2:3306:3306"
volumes:
- my-db:/var/lib/mysql
phpmyadmin:
image: phpmyadmin
restart: always
ports:
- "8080:80"
volumes:
my-db: {}