Skip to content

Instantly share code, notes, and snippets.

@jvegaf
Created January 5, 2025 00:59
Show Gist options
  • Save jvegaf/de5866659d63aaa6632ba6f1f69308d0 to your computer and use it in GitHub Desktop.
Save jvegaf/de5866659d63aaa6632ba6f1f69308d0 to your computer and use it in GitHub Desktop.
docker compose example for build ampache service
version: "3.8"
services:
ampache:
image: ampache/ampache
ports:
- "80:80"
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: ampache
MYSQL_USER: ampache
MYSQL_PASSWORD: example
networks:
- ampache_network
mysql:
image: mysql:5.7
volumes:
- mysql_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: ampache
MYSQL_USER: ampache
MYSQL_PASSWORD: example
networks:
- ampache_network
volumes:
ampache_data:
mysql_data:
networks:
ampache_network:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment