profileShare

rasmusjy / profileshare

Read-only snapshot

No repository description.

main default branch 54 files Expires Sep 13, 2026, 9:06 AM
docker-compose.yml 1,115 bytes
1 # code.rasmusj.com, profileShare.
2 #
3 # Same shape as the other projects on this host: Caddy already runs on the
4 # external `web` network and terminates TLS, so nothing here is published to
5 # the host directly. The container is only reachable through the proxy.
6 #
7 # The domain lives in the Caddyfile alone. Changing it never touches this file.
8
9 # Named explicitly because every project on this host is deployed into a
10 # directory called `app`, and Compose would otherwise derive the same project
11 # name for all of them and treat the neighbours' containers as orphans.
12 name: profileshare
13
14 services:
15 profileshare:
16 build: .
17 container_name: profileshare
18 restart: unless-stopped
19 env_file: .env
20 volumes:
21 # The snapshots and the owner session live in one SQLite file. Backing up
22 # is copying the volume; there is nothing else to keep.
23 - profileshare-data:/app/data
24 networks:
25 - web
26 expose:
27 - "3000"
28 logging:
29 driver: json-file
30 options:
31 max-size: "10m"
32 max-file: "3"
33
34 volumes:
35 profileshare-data:
36
37 networks:
38 web:
39 external: true
40