Update my website

This commit is contained in:
Ivan R. 2024-11-06 16:55:33 +05:00
parent 2bccfc644d
commit 786da4265e
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
2 changed files with 7 additions and 1 deletions

View file

@ -12,16 +12,21 @@
dest: /etc/comfycamp/config.local.toml
owner: root
mode: "0600"
- name: Create comfycamp volume
become: true
community.docker.docker_volume:
name: comfycamp
- name: Create comfycamp container
become: true
community.docker.docker_container:
name: comfycamp
image: git.comfycamp.space/lumin/comfycamp:v2.1.0
image: git.comfycamp.space/lumin/comfycamp:v2.2.0
networks:
- name: postgresql
- name: haproxy
volumes:
- /etc/comfycamp/config.local.toml:/usr/src/comfycamp/config.local.toml:ro
- comfycamp:/var/lib/comfycamp
env:
RUST_LOG: warn
restart_policy: unless-stopped

View file

@ -1,4 +1,5 @@
url = "https://comfycamp.space"
uploads_dir = "/var/lib/comfycamp"
[database]
url = "{{ database_url }}"