Skip to content

Instantly share code, notes, and snippets.

@ejach
Created October 4, 2021 22:49
Show Gist options
  • Save ejach/d84a303fd791dc386d0570dba3c54e43 to your computer and use it in GitHub Desktop.
Save ejach/d84a303fd791dc386d0570dba3c54e43 to your computer and use it in GitHub Desktop.
Webserver setup for ejach/InventoryApplication
version: '3.8'
services:
db:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: parts
volumes:
- /your/mount/point:/var/lib/mysql
ports:
- "3308:3306"
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
restart: always
environment:
PMA_HOST: db
PMA_USER: root
PMA_PASSWORD: root
ports:
- "8080:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment