diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-08-10 10:46:41 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-08-10 10:46:41 +0200 |
commit | c14579871fa1241713128a2d0d5514af004e3371 (patch) | |
tree | 6b28c42958650d94c9aa1947a0b5c32eb869d89f /docker-compose.yml |
initial commit
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2fd644f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,27 @@ +services: + db: + image: postgres + ports: + - "5432:5432" + environment: + - "POSTGRES_DB=${DB_NAME}" + - "POSTGRES_USER=${DB_USER}" + - "POSTGRES_PASSWORD=${DB_PASSWORD}" + volumes: + - "db:/var/lib/postgresql/data" + + php: + build: "docker/php" + volumes: + - "./:/var/www/html" + + web: + build: "docker/nginx" + ports: + - "8080:80" + volumes: + - "./:/var/www/html" + + +volumes: + db: |