sunetdrive/templates/reva/docker-compose.yml.erb
2023-09-28 14:48:30 +02:00

23 lines
677 B
Plaintext

version: '3.2'
services:
reva-server:
image: docker.sunet.se/drive/sciencemesh-reva:<%= @reva_version %>
network_mode: host
security_opt:
- seccomp:unconfined
dns:
- 89.46.20.75
- 89.46.21.29
- 89.32.32.32
environment:
- CGO_ENABLED=1
volumes:
- /opt/reva/revad.toml:/etc/revad/revad.toml
- /opt/reva/data:/var/tmp/reva
- /opt/reva/rclone.conf:/root/.rclone.conf
- /opt/reva/<%= @environment %>/<%= @domain %>.crt:/etc/revad/tls/<%= @domain %>.crt
- /opt/reva/<%= @environment %>/<%= @domain %>.key:/etc/revad/tls/<%= @domain %>.key
restart: always