Set variables in a string

This commit is contained in:
Colin Hebert
2023-05-06 14:00:59 +10:00
parent 712e355df6
commit ff3ecc7f72

View File

@@ -46,7 +46,7 @@ services:
# Set hostname to "SERVICE-main" if not suffix is provided. This avoids collisions with other instances using the service name as hostname (default on compose) # Set hostname to "SERVICE-main" if not suffix is provided. This avoids collisions with other instances using the service name as hostname (default on compose)
hostname: cross-seed${TORRENT_SUFFIX:--main} hostname: cross-seed${TORRENT_SUFFIX:--main}
image: crossseed/cross-seed image: crossseed/cross-seed
profiles: [torrents${TORRENT_SUFFIX?}-xseed] profiles: ["torrents${TORRENT_SUFFIX?}-xseed"]
user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?} user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?}
networks: networks:
- torrents - torrents