Update my website
This commit is contained in:
parent
2bccfc644d
commit
786da4265e
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
url = "https://comfycamp.space"
|
||||
uploads_dir = "/var/lib/comfycamp"
|
||||
|
||||
[database]
|
||||
url = "{{ database_url }}"
|
||||
|
|
Loading…
Reference in a new issue