-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
24 lines (21 loc) · 1.16 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3'
services:
archivy:
image: uzayg/archivy:latest
container_name: archivy
# networks: # If you are using a reverse proxy, you will need to edit this file to add Archivy to your reverse proxy network. You can also remove the host-to-container port mapping, as that should be handled by the reverse proxy
ports:
- 5000:5000 # this is a host-to-container port mapping. If your Docker environment already uses the host's port `:5000`, then you can remap this to any `<port>:5000` you need
volumes:
- ./archivy_data:/archivy/data # this mounts the ./archivy_data/ folder from the host's working directory into the container
- archivy_config:/archivy/.local/share/archivy # this mounts the docker-managed archivy_config volume from the host's working directory into the container
elasticsearch:
image: elasticsearch:7.9.0
container_name: elasticsearch
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data:rw # this mounts the docker-managed elasticsearch_data volume into the container and makes it writable
environment:
- "discovery.type=single-node"
volumes:
elasticsearch_data:
archivy_config: