forked from
smokesignal.events/smokesignal
i18n+filtering fork - fluent-templates v2
1version: '3.8'
2volumes:
3 smokesignal_data:
4 smokesignal_db:
5 smokesignal_ts:
6 smokesignal_sccache:
7services:
8 devcontainer:
9 image: mcr.microsoft.com/devcontainers/rust:1-1-bullseye
10 volumes:
11 - ..:/workspace:cached
12 - /var/run/docker.sock:/var/run/docker.sock
13 - smokesignal_sccache:/sccache
14 - smokesignal_data:/var/lib/smokesignal
15 command: sleep infinity
16 env_file:
17 - .env
18 environment:
19 - RUSTC_WRAPPER=sccache
20 - SCCACHE_DIR=/sccache
21 - RUST_LOG=debug
22 - RUST_BACKTRACE=1
23 - RUST_LIB_BACKTRACE=1
24 - HTTP_PORT=3100
25 - TZ=America/New_York
26 - DATABASE_URL=postgres://postgres:password@postgres/smokesignal
27
28 postgres:
29 image: postgis/postgis:17-3.5-alpine
30 restart: unless-stopped
31 volumes:
32 - smokesignal_db:/var/lib/postgresql/data
33 - ./postgres_init.sql:/docker-entrypoint-initdb.d/init.sql
34 environment:
35 - POSTGRES_PASSWORD=password
36 healthcheck:
37 test: 'pg_isready -U postgres'
38 interval: 500ms
39 timeout: 10s
40 retries: 20
41
42 valkey:
43 image: valkey/valkey:8-alpine
44
45 tailscale:
46 image: tailscale/tailscale:latest
47 restart: unless-stopped
48 environment:
49 - TS_STATE_DIR=/var/run/tailscale
50 volumes:
51 - smokesignal_ts:/var/run/tailscale