cloud/IasS/ex1-2/mysql/docker-compose.yml

22 lines
472 B
YAML
Raw Normal View History

2022-12-30 14:12:01 +01:00
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"
2022-12-07 14:33:00 +01:00
volumes:
2022-12-30 14:12:01 +01:00
my-db: {}