You are on page 1of 1

version: "2"

services:
nextcloud:
image: ghcr.io/linuxserver/nextcloud
container_name: nextcloud
environment:
- PUID=1000
- PGID=100
- TZ=Europe/Bucharest
volumes:
- /srv/dev-disk-by-uuid-7cde25db-9399-40ff-ab4b-68a1495e7f41/EJAI/appdata/
nextcloud/config:/config
- /srv/dev-disk-by-uuid-7cde25db-9399-40ff-ab4b-68a1495e7f41/EJAI/appdata/
nextcloud/data:/data
depends_on:
- mariadb
# ports: # uncomment this and the next line if you want to bypass the proxy
# - 450:443
restart: unless-stopped
mariadb:
image: ghcr.io/linuxserver/mariadb
container_name: nextclouddb
environment:
- PUID=1000
- PGID=100
- MYSQL_ROOT_PASSWORD=mariadbpassword
- TZ=Europe/Bucharest
volumes:
- /srv/dev-disk-by-uuid-7cde25db-9399-40ff-ab4b-68a1495e7f41/EJAI/appdata/
nextclouddb:/config
restart: unless-stopped
swag:
image: linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=100
- TZ=Europe/Bucharest
- URL=ejaiomv.duckdns.org
- SUBDOMAINS=wildcard
- VALIDATION=duckdns
- DUCKDNSTOKEN=329cfbd7-3e6d-45e2-b45b-70fa6cff89c5
- EMAIL=ejaiszentsimon@gmail.com
volumes:
- /srv/dev-disk-by-uuid-7cde25db-9399-40ff-ab4b-68a1495e7f41/EJAI/appdata/
appdata/swag:/config
ports:
- 444:443
- 81:80
restart: unless-stopped

You might also like