Merge pull request 'fix: LXD AppArmor compat + umami port conflict' (#1) from fix/lxd-apparmor-compat into master

This commit is contained in:
johba 2026-04-05 15:55:58 +00:00
commit 2f25febfe6

View file

@ -13,6 +13,8 @@ x-logging: &default-logging
services: services:
anvil: anvil:
security_opt:
- apparmor=unconfined
image: ghcr.io/foundry-rs/foundry:latest image: ghcr.io/foundry-rs/foundry:latest
command: ["/workspace/containers/anvil-entrypoint.sh"] command: ["/workspace/containers/anvil-entrypoint.sh"]
volumes: volumes:
@ -33,6 +35,8 @@ services:
start_period: 5s start_period: 5s
postgres: postgres:
security_opt:
- apparmor=unconfined
image: docker.io/library/postgres:16-alpine image: docker.io/library/postgres:16-alpine
command: command:
- "postgres" - "postgres"
@ -66,6 +70,8 @@ services:
retries: 5 retries: 5
bootstrap: bootstrap:
security_opt:
- apparmor=unconfined
image: ghcr.io/foundry-rs/foundry:latest image: ghcr.io/foundry-rs/foundry:latest
user: "0:0" user: "0:0"
command: ["/workspace/containers/bootstrap.sh"] command: ["/workspace/containers/bootstrap.sh"]
@ -87,6 +93,8 @@ services:
start_period: 10s start_period: 10s
ponder: ponder:
security_opt:
- apparmor=unconfined
build: build:
context: . context: .
dockerfile: containers/node-dev.Containerfile dockerfile: containers/node-dev.Containerfile
@ -119,6 +127,8 @@ services:
start_period: 20s start_period: 20s
webapp: webapp:
security_opt:
- apparmor=unconfined
build: build:
context: . context: .
dockerfile: containers/node-dev.Containerfile dockerfile: containers/node-dev.Containerfile
@ -155,6 +165,8 @@ services:
start_period: 10s start_period: 10s
landing: landing:
security_opt:
- apparmor=unconfined
build: build:
context: . context: .
dockerfile: containers/node-dev.Containerfile dockerfile: containers/node-dev.Containerfile
@ -186,6 +198,8 @@ services:
start_period: 10s start_period: 10s
txn-bot: txn-bot:
security_opt:
- apparmor=unconfined
build: build:
context: . context: .
dockerfile: containers/node-dev.Containerfile dockerfile: containers/node-dev.Containerfile
@ -218,6 +232,8 @@ services:
start_period: 10s start_period: 10s
caddy: caddy:
security_opt:
- apparmor=unconfined
image: docker.io/library/caddy:2.8 image: docker.io/library/caddy:2.8
volumes: volumes:
- ./containers/Caddyfile:/etc/caddy/Caddyfile:z - ./containers/Caddyfile:/etc/caddy/Caddyfile:z
@ -234,6 +250,8 @@ services:
start_period: 2s start_period: 2s
umami: umami:
security_opt:
- apparmor=unconfined
image: ghcr.io/umami-software/umami:postgresql-latest image: ghcr.io/umami-software/umami:postgresql-latest
environment: environment:
- DATABASE_URL=postgresql://umami:umami_local@postgres:5432/umami - DATABASE_URL=postgresql://umami:umami_local@postgres:5432/umami
@ -242,7 +260,7 @@ services:
expose: expose:
- "3000" - "3000"
ports: ports:
- "127.0.0.1:3000:3000" - "127.0.0.1:3001:3000"
restart: unless-stopped restart: unless-stopped
networks: networks:
- harb-network - harb-network
@ -258,6 +276,8 @@ services:
start_period: 15s start_period: 15s
otterscan: otterscan:
security_opt:
- apparmor=unconfined
image: otterscan/otterscan:v2.6.0 image: otterscan/otterscan:v2.6.0
environment: environment:
- ERIGON_URL=http://localhost:8545 - ERIGON_URL=http://localhost:8545