38 lines
590 B
YAML
38 lines
590 B
YAML
|
version: '3.9'
|
||
|
|
||
|
services:
|
||
|
gokapi:
|
||
|
image: f0rc3/gokapi:v1.7.1
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- data:/app/data
|
||
|
- config:/app/config
|
||
|
env_file:
|
||
|
- .env
|
||
|
networks:
|
||
|
- proxy
|
||
|
logging:
|
||
|
driver: "json-file"
|
||
|
options:
|
||
|
max-size: "1m"
|
||
|
max-file: "1"
|
||
|
|
||
|
volumes:
|
||
|
data:
|
||
|
driver: local
|
||
|
driver_opts:
|
||
|
type: none
|
||
|
o: bind
|
||
|
device: "/srv/docker/send/data"
|
||
|
config:
|
||
|
driver: local
|
||
|
driver_opts:
|
||
|
type: none
|
||
|
o: bind
|
||
|
device: "/srv/docker/send/config"
|
||
|
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|
||
|
|