This commit is contained in:
David Heinemeier Hansson
2023-01-14 12:17:04 +01:00
parent 4551a2b9d7
commit 0b7af9ac14

View File

@@ -1,20 +1,15 @@
# Name of your application will be used for uniquely configuring Traefik and app containers. # Name of your application. Used to uniquely configuring Traefik and app containers.
# Your Dockerfile should set LABEL service=the-same-value to ensure image pruning works. # Your Dockerfile should set LABEL service=the-same-value to ensure image pruning works.
service: my-app service: my-app
# Name of the container image # Name of the container image.
image: user/my-app image: user/my-app
# All the servers targeted for deploy. You can reference a single server for a command by using SERVERS=192.168.0.1 # Deploy to these servers.
servers: servers:
- 192.168.0.1 - 192.168.0.1
# The following envs are made available to the container when started # Credentials for your image host.
env:
# Remember never to put passwords or tokens directly into this file, use encrypted credentials
# REDIS_URL: redis://x/y
# Where your images will be hosted
registry: registry:
# Specify the registry server, if you're not using Docker Hub # Specify the registry server, if you're not using Docker Hub
# server: registry.digitalocean.com / ghcr.io / ... # server: registry.digitalocean.com / ghcr.io / ...