forked from CampusPulse/access-directory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (41 loc) · 1.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (41 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '3'
services:
minio:
image: docker.io/minio/minio
container_name: tunnelvision_minio
env_file: "compose.env"
ports:
- "9000:9000" # S3 compatible API endpoint
- "9001:9001" # MinIO console UI
volumes:
- minio-data:/data
command: server /data --console-address ":9001"
db:
image: docker.io/postgres
container_name: tunnelvision_db
restart: unless-stopped
# set shared memory limit when using docker-compose
shm_size: 128mb
env_file: "compose.env"
ports:
- "5432:5432"
volumes:
- tunnelvision-db-data:/var/lib/postgresql/data
# uncomment this section to run the app in a configuration more similar to production.
# Pass --build to the `compose up` command to rebuild the container
# campuspulse-access:
# image: ghcr.io/campuspulse/access-directory:main
# build:
# context: .
# dockerfile: ./Dockerfile
# container_name: accessdirectory
# restart: unless-stopped
# env_file: "compose.env"
# ports:
# - "5000:5000"
# depends_on:
# - db
# - minio
volumes:
minio-data:
tunnelvision-db-data: