2024-04-01 21:13:59 +00:00
services :
web :
2024-04-11 22:58:54 +00:00
build : .
2024-04-01 21:13:59 +00:00
ports :
- "3000:3000"
2024-04-02 14:41:07 +00:00
environment :
2024-04-02 19:22:54 +00:00
- DATABASE_URL=postgres://adventurelog:PO24VjITwGgk@db:5432/adventurelog
2024-04-10 13:30:54 +00:00
# ORIGIN is only necessary when not using a reverse proxy or hosting that includes https
- ORIGIN=http://localhost:3000
2024-06-10 01:21:58 +00:00
# SKIP_DB_WAIT: Only necessary for externally hosted databases such as NeonDB which have their own health checks!
2024-04-18 01:15:52 +00:00
- SKIP_DB_WAIT=false
2024-06-10 01:16:34 +00:00
- AWS_ACCESS_KEY_ID=minioadmin
- AWS_SECRET_ACCESS_KEY=minioadmin
2024-06-14 12:00:57 +00:00
- AWS_S3_ENDPOINT=http://minio:9000
# MINIO_CLIENT_OVERRIDE: Only necessary if using minio here with this docker compose file. This is becaues the client needs a different endpoint than the server because its not in the docker network.
- MINIO_CLIENT_OVERRIDE=http://localhost:9000
2024-06-10 01:21:58 +00:00
- BODY_SIZE_LIMIT=Infinity # change this to a smaller value if you want to limit the size of uploaded files!
2024-04-02 19:22:54 +00:00
depends_on :
- db
2024-06-09 18:42:32 +00:00
- minio
2024-04-02 19:22:54 +00:00
db :
image : postgres
environment :
POSTGRES_USER : adventurelog
POSTGRES_PASSWORD : PO24VjITwGgk
POSTGRES_DB : adventurelog
ports :
2024-04-02 22:02:20 +00:00
- "5432:5432"
2024-06-09 18:10:17 +00:00
minio :
image : quay.io/minio/minio
command : server /data --console-address ":9001"
environment :
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes :
- minio_data:/data
ports :
- "9000:9000"
- "9001:9001"
volumes :
minio_data :