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

62 lines
1.3 KiB
YAML
Raw Normal View History

2022-11-05 15:23:12 +00:00
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}
2022-11-05 15:24:41 +00:00
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
2022-11-05 15:23:12 +00:00
volumes:
- ./mariadb_data/config:/config
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