From 5fc47d4b80e6f83bcf96e6b3fffd52439d4d95b5 Mon Sep 17 00:00:00 2001 From: Floatingghost Date: Tue, 28 May 2024 12:15:10 +0100 Subject: [PATCH] i am a moron --- .woodpecker/build-docker.yml | 2 +- docker-compose.yml | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.woodpecker/build-docker.yml b/.woodpecker/build-docker.yml index 5efd546a6..e901a7fd6 100644 --- a/.woodpecker/build-docker.yml +++ b/.woodpecker/build-docker.yml @@ -24,7 +24,7 @@ steps: secrets: [docker_username, docker_password] settings: repo: woodpeckerci/woodpecker-agent - dockerfile: docker/Dockerfile.agent.multiarch + dockerfile: Dockerfile platforms: linux/amd64 tag: next when: diff --git a/docker-compose.yml b/docker-compose.yml index 6c0e2a7e1..dd3f60fa7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,11 @@ -version: "3.7" - services: db: image: akkoma-db:latest build: ./docker-resources/database shm_size: 4gb restart: unless-stopped - user: ${DOCKER_USER} + env_file: + - .env environment: { # This might seem insecure but is usually not a problem. # You should leave this at the "akkoma" default. @@ -18,8 +17,6 @@ services: POSTGRES_USER: akkoma, POSTGRES_PASSWORD: akkoma, } - env_file: - - .env volumes: - type: bind source: ./pgdata @@ -27,7 +24,6 @@ services: akkoma: image: akkoma:latest - build: . restart: unless-stopped env_file: - .env