Skip to content

Instantly share code, notes, and snippets.

@sriperinkulam sriperinkulam/known.yml
Last active Apr 27, 2020

Embed
What would you like to do?
# Assumptions:
# Traefik container is already up and running along with the corresponding network
# See https://srikanthperinkulam.com/2020/04/19/self-hosting-jitsi-video-conferencing/ for more details
version: '3.7'
services:
mariadb:
image: mariadb:10.3.14
volumes:
- ${VOLUME_PATH}knownmariadb:/var/lib/mysql:cached
environment:
- MYSQL_ROOT_PASSWORD=setasuperawes0mesecretr00tpassw0rdhere
- MYSQL_DATABASE=known
- MYSQL_USER=known
- MYSQL_PASSWORD=setan0therpassw0rdf0rdf0rthekn0wnuserhere
networks:
- internal
app:
image: sriperinkulam/php-7.4.3-apache-buster-plus:latest
volumes:
- ./app/:/var/www/html/
deploy:
labels:
- traefik.port=80
- traefik.enable=true
- traefik.frontend.rule=Host:${DOMAIN:-known.localhost}
networks:
- internal
- traefik
volumes:
knownmariadb:
networks:
internal:
driver: overlay
attachable: true
traefik:
external: true
name: traefik-net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.