generated from DAM/ts-TEMPLATE
manual init
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
{{service}}-ts:
|
mealie-ts:
|
||||||
image: tailscale/tailscale:latest
|
image: tailscale/tailscale:latest
|
||||||
hostname: {{service}}
|
hostname: mealie
|
||||||
container_name: {{service}}-ts
|
container_name: mealie-ts
|
||||||
environment:
|
environment:
|
||||||
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
|
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
|
||||||
- TS_STATE_DIR=/var/lib/tailscale
|
- TS_STATE_DIR=/var/lib/tailscale
|
||||||
@@ -15,7 +15,52 @@ services:
|
|||||||
- net_admin
|
- net_admin
|
||||||
- sys_module
|
- sys_module
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
{{service-compose}}
|
mealie:
|
||||||
network_mode: service:{{service}}-ts
|
image: ghcr.io/mealie-recipes/mealie:v3.6.1 #
|
||||||
|
container_name: mealie
|
||||||
|
restart: always
|
||||||
|
# ports:
|
||||||
|
# - "9925:9000" #
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1000M #
|
||||||
|
volumes:
|
||||||
|
- ./mealie-data:/app/data/
|
||||||
|
environment:
|
||||||
|
# Set Backend ENV Variables Here
|
||||||
|
ALLOW_SIGNUP: "false"
|
||||||
|
PUID: 1000
|
||||||
|
PGID: 1000
|
||||||
|
TZ: America/Anchorage
|
||||||
|
BASE_URL: http://mealie
|
||||||
|
# Database Settings
|
||||||
|
DB_ENGINE: postgres
|
||||||
|
POSTGRES_USER: mealie
|
||||||
|
POSTGRES_PASSWORD: mealie
|
||||||
|
POSTGRES_SERVER: localhost
|
||||||
|
POSTGRES_PORT: 5432
|
||||||
|
POSTGRES_DB: mealie
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
container_name: mealie-postgres
|
||||||
|
image: postgres:17
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./mealie-pgdata:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: mealie
|
||||||
|
POSTGRES_USER: mealie
|
||||||
|
PGUSER: mealie
|
||||||
|
POSTGRES_DB: mealie
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 20s
|
||||||
|
retries: 3
|
||||||
|
network_mode: service:mealie-ts
|
||||||
depends_on:
|
depends_on:
|
||||||
- {{service}}-ts
|
- mealie-ts
|
||||||
Reference in New Issue
Block a user