mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 00:08:34 +02:00
✨ Improve image build scripts (with many fixes).
This commit is contained in:
parent
b8050068d7
commit
17aa744b52
4 changed files with 28 additions and 31 deletions
|
@ -12,12 +12,12 @@ volumes:
|
|||
user_data:
|
||||
|
||||
services:
|
||||
devenv:
|
||||
main:
|
||||
privileged: true
|
||||
build:
|
||||
context: ./
|
||||
hostname: 'uxbox-devenv'
|
||||
container_name: 'uxbox-devenv-main'
|
||||
hostname: 'uxboxdev-main'
|
||||
container_name: 'uxboxdev-main'
|
||||
command: "/home/uxbox/init.sh"
|
||||
stop_signal: SIGINT
|
||||
depends_on:
|
||||
|
@ -40,7 +40,7 @@ services:
|
|||
- UXBOX_DATABASE_PASSWORD="uxbox"
|
||||
|
||||
smtp:
|
||||
container_name: 'uxbox-devenv-smtp'
|
||||
container_name: 'uxboxdev-smtp'
|
||||
image: mwader/postfix-relay
|
||||
restart: always
|
||||
environment:
|
||||
|
@ -49,9 +49,9 @@ services:
|
|||
|
||||
postgres:
|
||||
image: postgres:12
|
||||
# command: postgres -c config_file=/etc/postgresql.conf
|
||||
hostname: 'uxbox-devenv-postgres'
|
||||
container_name: 'uxbox-devenv-postgres'
|
||||
command: postgres -c config_file=/etc/postgresql.conf
|
||||
hostname: 'uxboxdev-postgres'
|
||||
container_name: 'uxboxdev-postgres'
|
||||
restart: always
|
||||
stop_signal: SIGINT
|
||||
ports:
|
||||
|
@ -62,5 +62,6 @@ services:
|
|||
- POSTGRES_USER=uxbox
|
||||
- POSTGRES_PASSWORD=uxbox
|
||||
volumes:
|
||||
# - ./files/postgresql.conf:/etc/postgresql.conf
|
||||
- ./files/postgresql.conf:/etc/postgresql.conf
|
||||
- ./files/postgresql_init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue