mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
🎉 Add redis to devenv docker compose.
This commit is contained in:
parent
04d364225c
commit
96472b6cd2
2 changed files with 19 additions and 6 deletions
|
@ -32,6 +32,7 @@ RUN set -ex; \
|
|||
imagemagick \
|
||||
webp \
|
||||
jq \
|
||||
redis-tools \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: '3'
|
||||
version: "3"
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
@ -15,13 +15,16 @@ services:
|
|||
main:
|
||||
privileged: true
|
||||
image: "uxbox-devenv"
|
||||
hostname: 'uxbox-devenv-main'
|
||||
container_name: 'uxbox-devenv-main'
|
||||
hostname: "uxbox-devenv-main"
|
||||
container_name: "uxbox-devenv-main"
|
||||
command: "/home/uxbox/init.sh"
|
||||
stop_signal: SIGINT
|
||||
|
||||
depends_on:
|
||||
- postgres
|
||||
- smtp
|
||||
- redis
|
||||
|
||||
volumes:
|
||||
- "user_data:/home/uxbox/local"
|
||||
- "${HOME}/.m2:/home/uxbox/.m2"
|
||||
|
@ -41,7 +44,7 @@ services:
|
|||
- UXBOX_DATABASE_PASSWORD=uxbox
|
||||
|
||||
smtp:
|
||||
container_name: 'uxbox-devenv-smtp'
|
||||
container_name: "uxbox-devenv-smtp"
|
||||
image: mwader/postfix-relay
|
||||
restart: always
|
||||
environment:
|
||||
|
@ -51,8 +54,8 @@ services:
|
|||
postgres:
|
||||
image: postgres:12
|
||||
command: postgres -c config_file=/etc/postgresql.conf
|
||||
hostname: 'uxbox-devenv-postgres'
|
||||
container_name: 'uxbox-devenv-postgres'
|
||||
hostname: "uxbox-devenv-postgres"
|
||||
container_name: "uxbox-devenv-postgres"
|
||||
restart: always
|
||||
stop_signal: SIGINT
|
||||
ports:
|
||||
|
@ -66,3 +69,12 @@ services:
|
|||
- ./files/postgresql.conf:/etc/postgresql.conf
|
||||
- ./files/postgresql_init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
||||
redis:
|
||||
image: redis:6.0-rc3
|
||||
hostname: "uxbox-devenv-redis"
|
||||
container_name: "uxbox-devenv-redis"
|
||||
restart: always
|
||||
|
||||
ports:
|
||||
- 6379:6379
|
||||
|
|
Loading…
Add table
Reference in a new issue