Created
January 26, 2025 16:08
-
-
Save ngerakines/cd9d5970bc9722f242f70ff419cfc0d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"dockerComposeFile": [ | |
"docker-compose.yml" | |
], | |
"service": "devcontainer", | |
"workspaceFolder": "/workspace", | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
volumes: | |
aviary_data: | |
aviary_ts: | |
aviary_tls: | |
aviary_sccache: | |
services: | |
devcontainer: | |
image: mcr.microsoft.com/devcontainers/rust:1-1-bullseye | |
network_mode: service:tailscale | |
volumes: | |
- ../..:/workspace:cached | |
- aviary_sccache:/sccache | |
command: sleep infinity | |
environment: | |
- TS_NET_NAME=bowfin-woodpecker.ts.net | |
- RUSTC_WRAPPER=sccache | |
- SCCACHE_DIR=/sccache | |
- RUST_LOG=debug | |
- RUST_BACKTRACE=1 | |
- RUST_LIB_BACKTRACE=1 | |
- HTTP_PORT=3000 | |
tailscale: | |
image: tailscale/tailscale:latest | |
restart: unless-stopped | |
environment: | |
- TS_STATE_DIR=/var/run/tailscale | |
- TS_EXTRA_ARGS=--advertise-tags=tag:aviary | |
- TS_HOSTNAME=aviary | |
volumes: | |
- aviary_tls:/mnt/tls | |
- aviary_ts:/var/run/tailscale | |
nginx: | |
image: nginx | |
restart: unless-stopped | |
network_mode: service:tailscale | |
volumes: | |
- ./nginx.conf:/etc/nginx/nginx.conf | |
- aviary_tls:/mnt/tls:ro |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment