mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
made a lot of changes to accomodate running the same app for differnt projects.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
# Joomla
|
||||
# Update the .env file
|
||||
#
|
||||
# Version 1
|
||||
################################################################################
|
||||
version: '3.3'
|
||||
|
||||
volumes:
|
||||
lap:
|
||||
|
||||
networks:
|
||||
admin_web:
|
||||
external:
|
||||
name: admin_web
|
||||
|
||||
services:
|
||||
|
||||
lap:
|
||||
image: nick/lamp
|
||||
restart: always
|
||||
networks:
|
||||
- admin_web
|
||||
volumes:
|
||||
- lap:/var/www/html
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.${PREFIX}_lap.rule=Host(`${DOMAIN_NAME}`)"
|
||||
- "traefik.http.routers.${PREFIX}_lap.entrypoints=websecure"
|
||||
- "traefik.http.routers.${PREFIX}_lap.tls=true"
|
||||
- "traefik.http.services.${PREFIX}_lap.loadbalancer.server.port=80"
|
||||
Reference in New Issue
Block a user