desk.undersco.re/config/docker-compose.yml

63 lines
1.4 KiB
YAML

version: "3"
networks:
nginx_net:
external:
name: nginx_net
desk_net:
external:
name: desk_net
services:
nextcloud:
image: ghcr.io/linuxserver/nextcloud
container_name: desk
environment:
- PUID=${USER_PUID}
- PGID=${USER_PGID}
- TZ=${USER_TZ}
volumes:
- ./nextcloud_data/config:/config
- ./nextcloud_data/data:/data
# - ./solvable_files.sh:/solvable_files.sh
restart: unless-stopped
networks:
- desk_net
mariadb:
image: ghcr.io/linuxserver/mariadb
container_name: desk-db
environment:
- PUID=${USER_PUID}
- PGID=${USER_PGID}
- MYSQL_ROOT_PASSWORD=#{MYSQL_ROOT_PASSWORD}
- TZ=${USER_TZ}
- MYSQL_DATABASE=#{MYSQL_DATABASE}
- MYSQL_USER=#{MYSQL_USER}
- MYSQL_PASSWORD=#{MYSQL_PASSWORD}
volumes:
- ./mariadb_data/config:/config
- ./mariadb_data/backup:/backup
restart: unless-stopped
networks:
- desk_net
onlyoffice:
container_name: onlyoffice
image: onlyoffice/documentserver:latest
stdin_open: true
ports:
- 85:80
environment:
- PUID=${USER_PUID}
- PGID=${USER_PGID}
- JWT_ENABLED=true
- JWT_SECRET=${JWT_SECRET}
cap_add:
- MKNOD
networks:
- desk_net
restart: always
volumes:
- ./onlyoffice_data/fonts:/usr/share/fonts