public site and containers for that.
Build and Publish Container / Publish Linux container (push) Failing after 1m52s
Build and Publish Container / Publish Linux container (push) Failing after 1m52s
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Published image. Use a version such as 1.0.0 instead of latest to pin a release.
|
||||
PROGRESSION_IMAGE=git.hudsonriggs.systems/hriggs/progressionmods
|
||||
PROGRESSION_IMAGE_TAG=latest
|
||||
|
||||
# Public listener. Change the external port without changing the container.
|
||||
PROGRESSION_BIND_ADDRESS=0.0.0.0
|
||||
PROGRESSION_EXTERNAL_PORT=8000
|
||||
|
||||
# Protects POST /api/refresh. Set a long random value before public deployment.
|
||||
PROGRESSION_ADMIN_TOKEN=change-me
|
||||
MODLIST_GAME_VERSION=1.6
|
||||
|
||||
# Progression Steam Workshop collections.
|
||||
CORE_COLLECTION_URL=https://steamcommunity.com/workshop/filedetails/?id=3521297585
|
||||
CONTENT_COLLECTION_URL=https://steamcommunity.com/sharedfiles/filedetails/?id=3521319712
|
||||
COSMETICS_COLLECTION_URL=https://steamcommunity.com/sharedfiles/filedetails/?id=3637541646
|
||||
|
||||
# SteamCMD download and hourly refresh behavior.
|
||||
STEAMCMD_BATCH_SIZE=25
|
||||
STEAMCMD_TIMEOUT_SECONDS=1800
|
||||
REFRESH_INTERVAL_SECONDS=3600
|
||||
REFRESH_ON_STARTUP=true
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
# Progression deployment
|
||||
|
||||
This deployment pulls the published container from the Gitea registry. No
|
||||
repository checkout or local image build is required on the server.
|
||||
|
||||
1. Copy `.env.example` to `.env` and change `PROGRESSION_ADMIN_TOKEN`.
|
||||
2. Set `PROGRESSION_EXTERNAL_PORT` if port `8000` is already in use.
|
||||
3. Start the service:
|
||||
|
||||
```sh
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
The SQLite database and Steam Workshop files are stored in named Docker volumes
|
||||
and survive image upgrades. To update later, run the same two commands again.
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
name: progression-mods
|
||||
|
||||
services:
|
||||
progression-web:
|
||||
image: ${PROGRESSION_IMAGE:-git.hudsonriggs.systems/hriggs/progressionmods}:${PROGRESSION_IMAGE_TAG:-latest}
|
||||
platform: linux/amd64
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${PROGRESSION_BIND_ADDRESS:-0.0.0.0}:${PROGRESSION_EXTERNAL_PORT:-8000}:8000"
|
||||
environment:
|
||||
PROGRESSION_HOST: 0.0.0.0
|
||||
PROGRESSION_PORT: 8000
|
||||
PROGRESSION_DB_PATH: /srv/progression/.data/progression.db
|
||||
PROGRESSION_ADMIN_TOKEN: ${PROGRESSION_ADMIN_TOKEN:-}
|
||||
MODLIST_GAME_VERSION: ${MODLIST_GAME_VERSION:-1.6}
|
||||
CORE_COLLECTION_URL: ${CORE_COLLECTION_URL:-https://steamcommunity.com/workshop/filedetails/?id=3521297585}
|
||||
CONTENT_COLLECTION_URL: ${CONTENT_COLLECTION_URL:-https://steamcommunity.com/sharedfiles/filedetails/?id=3521319712}
|
||||
COSMETICS_COLLECTION_URL: ${COSMETICS_COLLECTION_URL:-https://steamcommunity.com/sharedfiles/filedetails/?id=3637541646}
|
||||
STEAMCMD_PATH: /opt/steamcmd/steamcmd.sh
|
||||
STEAMCMD_WORKSHOP_DIR: /opt/steamcmd/steamapps/workshop/content/294100
|
||||
STEAMCMD_BATCH_SIZE: ${STEAMCMD_BATCH_SIZE:-25}
|
||||
STEAMCMD_TIMEOUT_SECONDS: ${STEAMCMD_TIMEOUT_SECONDS:-1800}
|
||||
REFRESH_INTERVAL_SECONDS: ${REFRESH_INTERVAL_SECONDS:-3600}
|
||||
REFRESH_ON_STARTUP: ${REFRESH_ON_STARTUP:-true}
|
||||
volumes:
|
||||
- progression-data:/srv/progression/.data
|
||||
- progression-workshop:/opt/steamcmd/steamapps
|
||||
|
||||
volumes:
|
||||
progression-data:
|
||||
progression-workshop:
|
||||
|
||||
Reference in New Issue
Block a user