generated from autonomic-cooperative/astro-payload-template
Compare commits
No commits in common. "8a329feb3ec9848c640bab1f7d95f3263abe947a" and "038cc1228c4b982ce32721171c446f598e87431d" have entirely different histories.
8a329feb3e
...
038cc1228c
15
.env
15
.env
@ -1,13 +1,10 @@
|
|||||||
# This file is just for local dev; see <somewhere else> for live deployment
|
|
||||||
NAME=astroad
|
NAME=astroad
|
||||||
|
ASTRO_HOST=localhost:3000
|
||||||
PAYLOAD_URL=http://localhost:3003
|
PAYLOAD_HOST=payload:3001
|
||||||
PAYLOAD_PORT=3003
|
PAYLOAD_URL=http://localhost:3001
|
||||||
|
PAYLOAD_PORT=3001
|
||||||
##############################################################################
|
|
||||||
# Infinite nerd depth settings, you probably don't need to change these #
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
PAYLOAD_SECRET=supersecretkey
|
PAYLOAD_SECRET=supersecretkey
|
||||||
MONGODB_USER=payload
|
MONGODB_USER=payload
|
||||||
MONGODB_PASSWORD=password
|
MONGODB_PASSWORD=password
|
||||||
|
TOKEN=supersecrettoken
|
||||||
|
REPOSITORY=mooxl/astroad
|
||||||
|
@ -6,8 +6,6 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: astro
|
context: astro
|
||||||
command: ["yarn", "dev"]
|
command: ["yarn", "dev"]
|
||||||
environment:
|
|
||||||
DEV: 1
|
|
||||||
networks:
|
networks:
|
||||||
- front
|
- front
|
||||||
volumes:
|
volumes:
|
||||||
@ -25,10 +23,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: payload
|
context: payload
|
||||||
environment:
|
environment:
|
||||||
DEV: 1
|
|
||||||
NAME: ${NAME}
|
NAME: ${NAME}
|
||||||
NODE_ENV: development
|
PAYLOAD_URL: ${PAYLOAD_URL}
|
||||||
PAYLOAD_URL: "http://localhost:${PAYLOAD_PORT}"
|
|
||||||
PAYLOAD_PORT: ${PAYLOAD_PORT}
|
PAYLOAD_PORT: ${PAYLOAD_PORT}
|
||||||
PAYLOAD_SECRET: ${PAYLOAD_SECRET}
|
PAYLOAD_SECRET: ${PAYLOAD_SECRET}
|
||||||
MONGODB_USER:
|
MONGODB_USER:
|
||||||
@ -39,10 +35,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./payload/src:/base/src
|
- ./payload/src:/base/src
|
||||||
- ./astro/src/types.ts:/types.ts
|
- ./astro/src/types.ts:/types.ts
|
||||||
volumes:
|
|
||||||
- payload_media:/prod/dist/media
|
|
||||||
ports:
|
ports:
|
||||||
- ${PAYLOAD_PORT}:${PAYLOAD_PORT}
|
- 3001:3001
|
||||||
networks:
|
networks:
|
||||||
- front
|
- front
|
||||||
- back
|
- back
|
||||||
@ -71,4 +65,3 @@ networks:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mongo:
|
mongo:
|
||||||
payload_media:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user