mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-22 08:12:19 +00:00
Update docker-compose.yml
add optional network definitions
This commit is contained in:
parent
b61cd4b9ff
commit
69e502805e
|
@ -15,6 +15,8 @@ services:
|
||||||
- "9925:3000" # adjust to your liking
|
- "9925:3000" # adjust to your liking
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/docker-volumes/mealie/data:/app/data/
|
- /mnt/docker-volumes/mealie/data:/app/data/
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
#labels:
|
#labels:
|
||||||
# - traefik.enable=true
|
# - traefik.enable=true
|
||||||
# - traefik.http.routers.mealie.rule=Host(`mealie.example.com`)
|
# - traefik.http.routers.mealie.rule=Host(`mealie.example.com`)
|
||||||
|
@ -33,6 +35,8 @@ services:
|
||||||
memory: 512M # Setting a memory limit will improve idle performance.
|
memory: 512M # Setting a memory limit will improve idle performance.
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/docker-volumes/mealie/data:/app/data/
|
- /mnt/docker-volumes/mealie/data:/app/data/
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
environment:
|
environment:
|
||||||
# Set Backend ENV Variables Here
|
# Set Backend ENV Variables Here
|
||||||
- ALLOW_SIGNUP=true # disable after setting up your accounts!
|
- ALLOW_SIGNUP=true # disable after setting up your accounts!
|
||||||
|
@ -43,3 +47,7 @@ services:
|
||||||
- WEB_CONCURRENCY=1
|
- WEB_CONCURRENCY=1
|
||||||
- BASE_URL=https://mealie.example.com # adjust this!
|
- BASE_URL=https://mealie.example.com # adjust this!
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user