2023-09-29 09:20:41 +00:00
|
|
|
service: soc
|
|
|
|
|
|
|
|
image: tsvallender/soc
|
|
|
|
|
|
|
|
traefik:
|
|
|
|
host_port: 8000
|
2023-09-29 13:29:50 +00:00
|
|
|
args:
|
|
|
|
entryPoints.web.address: ':80'
|
|
|
|
entryPoints.web.forwardedHeaders.trustedIPs: 0.0.0.0/0
|
2023-12-28 12:54:44 +00:00
|
|
|
options:
|
|
|
|
network: kamal
|
2023-09-29 09:20:41 +00:00
|
|
|
|
|
|
|
servers:
|
2023-12-28 12:54:44 +00:00
|
|
|
web:
|
|
|
|
hosts:
|
|
|
|
- tsvallender.co.uk
|
|
|
|
options:
|
|
|
|
network: kamal
|
2023-09-29 09:20:41 +00:00
|
|
|
|
2024-03-08 13:47:01 +00:00
|
|
|
volumes:
|
|
|
|
- /srv/soc/storage:/rails/storage
|
|
|
|
|
2023-09-29 09:20:41 +00:00
|
|
|
registry:
|
|
|
|
username: tsvallender
|
|
|
|
password:
|
|
|
|
- KAMAL_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
env:
|
|
|
|
clear:
|
|
|
|
APPLICATION_HOST: tsvallender.co.uk
|
2023-12-28 12:54:44 +00:00
|
|
|
DB_HOST: soc-postgres
|
2023-09-29 09:20:41 +00:00
|
|
|
RAILS_LOG_TO_STDOUT: true
|
|
|
|
RAILS_SERVE_STATIC_FILES: true
|
|
|
|
secret:
|
|
|
|
- RAILS_MASTER_KEY
|
|
|
|
- POSTGRES_PASSWORD
|
|
|
|
|
|
|
|
ssh:
|
|
|
|
user: kamal
|
|
|
|
|
|
|
|
builder:
|
|
|
|
args:
|
|
|
|
APPLICATION_HOST: tsvallender.co.uk
|
2024-05-15 19:44:36 +00:00
|
|
|
RUBY_VERSION: 3.3.1
|
2023-12-28 12:54:44 +00:00
|
|
|
remote:
|
|
|
|
arch: arm64
|
|
|
|
host: ssh://kamal@tsvallender.co.uk
|
2023-09-29 09:20:41 +00:00
|
|
|
|
|
|
|
accessories:
|
|
|
|
postgres:
|
|
|
|
image: postgres:16
|
|
|
|
host: tsvallender.co.uk
|
|
|
|
env:
|
|
|
|
clear:
|
|
|
|
POSTGRES_USER: soc
|
|
|
|
secret:
|
|
|
|
- POSTGRES_PASSWORD
|
|
|
|
volumes:
|
|
|
|
- /srv/soc/data:/var/lib/postgresql/data
|
|
|
|
options:
|
2023-12-28 12:54:44 +00:00
|
|
|
network: kamal
|