Compare commits

..

2 Commits

2 changed files with 12 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
# version Trytond server example 5.0
ARG TRYTOND_VERSION
FROM node as builder-node
FROM node AS builder-node
ARG TRYTOND_VERSION
ARG TRYTONPASSFILE
@@ -34,14 +34,14 @@ RUN apt-get update \
RUN echo "Install modules non official"
COPY trytond.conf /etc/trytond.conf
COPY trytond_worker.conf /etc/trytond_worker.conf
COPY gunicorn.conf.py /etc/gunicorn.conf.py
COPY trytond_logging.conf /etc/trytond_logging.conf
COPY trytond_cron_logging.conf /etc/trytond_cron_logging.conf
COPY trytond_worker_logging.conf /etc/trytond_worker_logging.conf
COPY common_password.txt /etc/common_password.txt
COPY start.sh /opt
COPY ./prod/trytond.conf /etc/trytond.conf
COPY ./prod/trytond_worker.conf /etc/trytond_worker.conf
COPY ./prod/gunicorn.conf.py /etc/gunicorn.conf.py
COPY ./prod/trytond_logging.conf /etc/trytond_logging.conf
COPY ./prod/trytond_cron_logging.conf /etc/trytond_cron_logging.conf
COPY ./prod/trytond_worker_logging.conf /etc/trytond_worker_logging.conf
COPY ./prod/common_password.txt /etc/common_password.txt
COPY ./prod/start.sh /opt
COPY requirements.txt /opt

View File

@@ -1,6 +1,8 @@
services:
db:
image: postgres:12
volumes:
- postgres:/var/lib/postgresql
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
@@ -32,5 +34,6 @@ services:
env_file:
- .env.development
volumes:
postgres:
app:
attachments: