Files
kamal/lib/tasks/mrsk/templates/deploy.yml
David Heinemeier Hansson e62610069b Correct commadn
2023-01-11 17:46:35 +01:00

25 lines
876 B
YAML

# Name of your application will be used for uniquely configuring Traefik and app containers.
# Your Dockerfile should set LABEL service=the-same-value to ensure image pruning works.
service: my-app
# Name of the container image
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
servers:
- 192.168.0.1
# The following envs are made available to the container when started
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:
# Specify the registry server, if you're not using Docker Hub
# server: registry.digitalocean.com / ghcr.io / ...
# Set credentials with bin/rails credentials:edit
username: my-user
password: my-password-should-go-in-credentials