Compare commits
2 Commits
1760183a5d
...
b1b3b8aef5
| Author | SHA1 | Date | |
|---|---|---|---|
| b1b3b8aef5 | |||
| ea7f808a04 |
@@ -1,7 +1,7 @@
|
|||||||
# version Trytond server example 5.0
|
# version Trytond server example 5.0
|
||||||
ARG TRYTOND_VERSION
|
ARG TRYTOND_VERSION
|
||||||
|
|
||||||
FROM node as builder-node
|
FROM node AS builder-node
|
||||||
|
|
||||||
ARG TRYTOND_VERSION
|
ARG TRYTOND_VERSION
|
||||||
ARG TRYTONPASSFILE
|
ARG TRYTONPASSFILE
|
||||||
@@ -34,14 +34,14 @@ RUN apt-get update \
|
|||||||
|
|
||||||
RUN echo "Install modules non official"
|
RUN echo "Install modules non official"
|
||||||
|
|
||||||
COPY trytond.conf /etc/trytond.conf
|
COPY ./prod/trytond.conf /etc/trytond.conf
|
||||||
COPY trytond_worker.conf /etc/trytond_worker.conf
|
COPY ./prod/trytond_worker.conf /etc/trytond_worker.conf
|
||||||
COPY gunicorn.conf.py /etc/gunicorn.conf.py
|
COPY ./prod/gunicorn.conf.py /etc/gunicorn.conf.py
|
||||||
COPY trytond_logging.conf /etc/trytond_logging.conf
|
COPY ./prod/trytond_logging.conf /etc/trytond_logging.conf
|
||||||
COPY trytond_cron_logging.conf /etc/trytond_cron_logging.conf
|
COPY ./prod/trytond_cron_logging.conf /etc/trytond_cron_logging.conf
|
||||||
COPY trytond_worker_logging.conf /etc/trytond_worker_logging.conf
|
COPY ./prod/trytond_worker_logging.conf /etc/trytond_worker_logging.conf
|
||||||
COPY common_password.txt /etc/common_password.txt
|
COPY ./prod/common_password.txt /etc/common_password.txt
|
||||||
COPY start.sh /opt
|
COPY ./prod/start.sh /opt
|
||||||
|
|
||||||
COPY requirements.txt /opt
|
COPY requirements.txt /opt
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
|
volumes:
|
||||||
|
- postgres:/var/lib/postgresql
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
@@ -32,5 +34,6 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- .env.development
|
- .env.development
|
||||||
volumes:
|
volumes:
|
||||||
|
postgres:
|
||||||
app:
|
app:
|
||||||
attachments:
|
attachments:
|
||||||
|
|||||||
Reference in New Issue
Block a user