Skip to content

Commit 0621f3e

Browse files
committed
Added comments from template
1 parent 9c6e072 commit 0621f3e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

services/xwiki/compose.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,17 @@ services:
4747
start_period: 10s # Time to wait before starting health checks
4848
restart: always
4949

50+
# ${SERVICE}
5051
application:
51-
image: ${IMAGE_URL}
52-
network_mode: service:tailscale
53-
container_name: app-${SERVICE}
52+
image: ${IMAGE_URL} # Image to be used
53+
network_mode: service:tailscale # Sidecar configuration to route ${SERVICE} through Tailscale
54+
container_name: app-${SERVICE} # Name for local container management
5455
depends_on:
5556
tailscale:
5657
condition: service_healthy
5758
db:
5859
condition: service_started
59-
environment:
60+
environment: # Varibles are delared in .env file.
6061
- XWIKI_VERSION=${XWIKI_VERSION}
6162
- DB_USER=${DB_USER}
6263
- DB_PASSWORD=${DB_PASSWORD}

0 commit comments

Comments
 (0)