2021-04-02 04:57:37 +00:00
|
|
|
services:
|
|
|
|
micro:
|
2022-06-06 03:02:31 +00:00
|
|
|
image: sylver/micro:main
|
2021-04-02 04:57:37 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2024-05-16 16:06:44 +00:00
|
|
|
- ./micro.yaml:/usr/src/micro/micro.yaml
|
|
|
|
- ./data:/data
|
|
|
|
|
2021-04-02 04:57:37 +00:00
|
|
|
postgres:
|
2024-05-16 16:06:44 +00:00
|
|
|
image: postgres:16-alpine
|
2021-04-02 04:57:37 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
2024-05-16 16:06:44 +00:00
|
|
|
- POSTGRES_PASSWORD=youshallnotpass # change this!
|
2021-04-02 04:57:37 +00:00
|
|
|
- POSTGRES_USER=micro
|
|
|
|
- POSTGRES_DB=micro
|
|
|
|
volumes:
|
2024-05-16 16:06:44 +00:00
|
|
|
- ./.pg-data:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
tunnel:
|
|
|
|
container_name: tunnel
|
|
|
|
image: cloudflare/cloudflared:latest
|
2021-04-02 04:57:37 +00:00
|
|
|
restart: unless-stopped
|
2024-05-16 16:06:44 +00:00
|
|
|
command: tunnel run micro
|
2021-04-02 04:57:37 +00:00
|
|
|
volumes:
|
2024-05-16 16:06:44 +00:00
|
|
|
- ./.cloudflared:/etc/cloudflared
|
|
|
|
- ./tunnel.yaml:/etc/cloudflared/config.yml
|