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
|
dest: /etc/comfycamp/config.local.toml
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
|
- name: Create comfycamp volume
|
||||||
|
become: true
|
||||||
|
community.docker.docker_volume:
|
||||||
|
name: comfycamp
|
||||||
- name: Create comfycamp container
|
- name: Create comfycamp container
|
||||||
become: true
|
become: true
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: comfycamp
|
name: comfycamp
|
||||||
image: git.comfycamp.space/lumin/comfycamp:v2.1.0
|
image: git.comfycamp.space/lumin/comfycamp:v2.2.0
|
||||||
networks:
|
networks:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
- name: haproxy
|
- name: haproxy
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/comfycamp/config.local.toml:/usr/src/comfycamp/config.local.toml:ro
|
- /etc/comfycamp/config.local.toml:/usr/src/comfycamp/config.local.toml:ro
|
||||||
|
- comfycamp:/var/lib/comfycamp
|
||||||
env:
|
env:
|
||||||
RUST_LOG: warn
|
RUST_LOG: warn
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
url = "https://comfycamp.space"
|
url = "https://comfycamp.space"
|
||||||
|
uploads_dir = "/var/lib/comfycamp"
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
url = "{{ database_url }}"
|
url = "{{ database_url }}"
|
||||||
|
|
Loading…
Reference in a new issue