Installation: Add Release-Via-Docker option
This commit is contained in:
parent
e40bedc601
commit
5600634574
7 changed files with 211 additions and 0 deletions
22
installation/release-to-docker/docker-compose.yml
Normal file
22
installation/release-to-docker/docker-compose.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
services:
|
||||
pleroma:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: pleroma-host-release-wrapper:ubuntu24
|
||||
init: true
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
HOME: /opt/pleroma
|
||||
LANG: C.UTF-8
|
||||
LC_ALL: C.UTF-8
|
||||
ELIXIR_ERL_OPTIONS: "+fnu"
|
||||
# Set to 0 to skip running migrations on container start.
|
||||
PLEROMA_RUN_MIGRATIONS: "1"
|
||||
volumes:
|
||||
# Existing OTP release installation (host)
|
||||
- /opt/pleroma:/opt/pleroma:rw
|
||||
# Existing config + uploads + static (host)
|
||||
- /etc/pleroma:/etc/pleroma:rw
|
||||
- /var/lib/pleroma:/var/lib/pleroma:rw
|
||||
Loading…
Add table
Add a link
Reference in a new issue