Skip to content

Instantly share code, notes, and snippets.

@Steellgold
Created February 10, 2026 14:15
Show Gist options
  • Select an option

  • Save Steellgold/546a7c60a6c95d0a074be477b06730ce to your computer and use it in GitHub Desktop.

Select an option

Save Steellgold/546a7c60a6c95d0a074be477b06730ce to your computer and use it in GitHub Desktop.
services:
db:
image: mysql:latest
restart: always
volumes:
- ./init:/docker-entrypoint-initdb.d
- ./data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: uha40
MYSQL_DATABASE: cinemaSQL
MYSQL_USER: cinema
MYSQL_PASSWORD: cinema
ports:
- "33070:3306"
adminer:
image: phpmyadmin/phpmyadmin
restart: always
environment:
PMA_HOST: db
PMA_USER: cinema
PMA_PASSWORD: cinema
ports:
- "9999:80"
php-apache:
image: php:8.2-apache
restart: always
depends_on:
- db
volumes:
- ./src:/var/www/html
ports:
- "8080:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment