Feature/set stack and container names in docker-compose files (#4000)
* Set stack and container names in docker-compose files * Update changelog --------- Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
parent
d7f69020c2
commit
1ee9cd3de1
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Set the stack and container names in the `docker-compose` files (`docker-compose.yml`, `docker-compose.build.yml` and `docker-compose.dev.yml`)
|
||||||
|
|
||||||
## 2.120.0 - 2024-10-30
|
## 2.120.0 - 2024-10-30
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
name: ghostfolio_build
|
||||||
services:
|
services:
|
||||||
ghostfolio:
|
ghostfolio:
|
||||||
build: ../
|
build: ../
|
||||||
|
container_name: gf-application-build
|
||||||
init: true
|
init: true
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- ../.env
|
||||||
@ -23,6 +25,7 @@ services:
|
|||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: docker.io/library/postgres:15
|
image: docker.io/library/postgres:15
|
||||||
|
container_name: gf-postgres-build
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- ../.env
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@ -35,6 +38,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: docker.io/library/redis:alpine
|
image: docker.io/library/redis:alpine
|
||||||
|
container_name: gf-redis-build
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- ../.env
|
||||||
command: ['redis-server', '--requirepass', $REDIS_PASSWORD]
|
command: ['redis-server', '--requirepass', $REDIS_PASSWORD]
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
name: ghostfolio_dev
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: docker.io/library/postgres:15
|
image: docker.io/library/postgres:15
|
||||||
container_name: postgres
|
container_name: gf-postgres-dev
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- ../.env
|
||||||
@ -12,7 +13,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: docker.io/library/redis:alpine
|
image: docker.io/library/redis:alpine
|
||||||
container_name: redis
|
container_name: gf-redis-dev
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- ../.env
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
name: ghostfolio
|
||||||
services:
|
services:
|
||||||
ghostfolio:
|
ghostfolio:
|
||||||
image: docker.io/ghostfolio/ghostfolio:latest
|
image: docker.io/ghostfolio/ghostfolio:latest
|
||||||
|
container_name: gf-application
|
||||||
init: true
|
init: true
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
@ -27,6 +29,7 @@ services:
|
|||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: docker.io/library/postgres:15
|
image: docker.io/library/postgres:15
|
||||||
|
container_name: gf-postgres
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
cap_add:
|
cap_add:
|
||||||
@ -49,6 +52,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: docker.io/library/redis:alpine
|
image: docker.io/library/redis:alpine
|
||||||
|
container_name: gf-redis
|
||||||
user: '999:1000'
|
user: '999:1000'
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user