Explorecraft_Logolcicusz_Kn.../docker-compose.yml
LogolicusZ 2065e06e4d Changes:
- Added Justfile and added Build
- Added init.sql, docker compose and Dockerfile from other Repo
- Created Docker-compose.build file
- updated Css
2024-04-05 11:39:54 +02:00

30 lines
712 B
YAML

services:
db:
container_name: mariadb
image: mariadb:10.5.8
volumes:
- picture_volume:/var/lib/mysql
- /Users/logolicusz/Git/m169-weekly/scripts/init.sql:/docker-entrypoint-initdb.d/init.sql
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: picture_db
MYSQL_USER: user
MYSQL_PASSWORD: userpassword
command: --default-authentication-plugin=mysql_native_password
networks:
- internal-bridge
web:
image: gitpot.dev/logolicusz/explorecraft_logolcicusz_knockoff:latest
ports:
- "3000:80"
networks:
- internal-bridge
volumes:
picture_volume:
external: true
networks:
internal-bridge:
driver: bridge