sunetdrive/templates/reva/docker-compose.yml.erb
2023-09-26 14:25:10 +02:00

23 lines
683 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/metrics.json:/etc/revad/metrics.json
- /opt/reva/<%= @environment %>/<%= @domain %>.crt:/etc/revad/tls/<%= @domain %>.crt
- /opt/reva/<%= @environment %>/<%= @domain %>.key:/etc/revad/tls/<%= @domain %>.key
restart: always