mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 07:46:11 +02:00
⬆️ Update postgresql on devenv and add smtp relay container.
This commit is contained in:
parent
e9b00339a5
commit
b2d13a2493
2 changed files with 14 additions and 5 deletions
|
@ -43,12 +43,12 @@ RUN set -ex; \
|
||||||
apt-get -qq update; \
|
apt-get -qq update; \
|
||||||
apt-get install -qqy zulu-12; \
|
apt-get install -qqy zulu-12; \
|
||||||
apt-get install -qqy \
|
apt-get install -qqy \
|
||||||
postgresql-11 \
|
postgresql-12 \
|
||||||
postgresql-contrib-11 \
|
postgresql-contrib-12 \
|
||||||
;\
|
;\
|
||||||
rm -rf /var/lib/apt/lists/*;
|
rm -rf /var/lib/apt/lists/*;
|
||||||
|
|
||||||
COPY files/pg_hba.conf /etc/postgresql/11/main/pg_hba.conf
|
COPY files/pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
||||||
COPY files/bashrc /root/.bashrc
|
COPY files/bashrc /root/.bashrc
|
||||||
COPY files/vimrc /root/.vimrc
|
COPY files/vimrc /root/.vimrc
|
||||||
|
|
||||||
|
|
|
@ -17,11 +17,12 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
hostname: 'uxbox-devenv'
|
hostname: 'uxbox-devenv'
|
||||||
container_name: 'uxbox-devenv'
|
container_name: 'uxbox-devenv-main'
|
||||||
command: "/home/uxbox/init.sh"
|
command: "/home/uxbox/init.sh"
|
||||||
stop_signal: SIGINT
|
stop_signal: SIGINT
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
- smtp
|
||||||
volumes:
|
volumes:
|
||||||
- "user_data:/home/uxbox/local"
|
- "user_data:/home/uxbox/local"
|
||||||
- "${PWD}:/home/uxbox/uxbox"
|
- "${PWD}:/home/uxbox/uxbox"
|
||||||
|
@ -31,13 +32,21 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 3449:3449
|
- 3449:3449
|
||||||
- 6060:6060
|
- 6060:6060
|
||||||
|
- 9090:9090
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- UXBOX_HTTP_SERVER_DEBUG=false
|
|
||||||
- UXBOX_DATABASE_URI="postgresql://postgres/uxbox"
|
- UXBOX_DATABASE_URI="postgresql://postgres/uxbox"
|
||||||
- UXBOX_DATABASE_USERNAME="uxbox"
|
- UXBOX_DATABASE_USERNAME="uxbox"
|
||||||
- UXBOX_DATABASE_PASSWORD="uxbox"
|
- UXBOX_DATABASE_PASSWORD="uxbox"
|
||||||
|
|
||||||
|
smtp:
|
||||||
|
container_name: 'uxbox-devenv-smtp'
|
||||||
|
image: mwader/postfix-relay
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- POSTFIX_myhostname=smtp.uxbox.io
|
||||||
|
- OPENDKIM_DOMAINS=smtp.uxbox.io
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
hostname: 'uxbox-devenv-postgres'
|
hostname: 'uxbox-devenv-postgres'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue