-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from idoknow/feat/domain
feat: 引入 domain 概念
- Loading branch information
Showing
7 changed files
with
84 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
version: "3" | ||
services: | ||
redis: | ||
image: redis:6-alpine | ||
restart: always | ||
container_name: campux-redis | ||
volumes: | ||
# Mount the redis data directory to the container. | ||
- ./volumes/redis/data:/data | ||
# Set the redis password when startup redis server. | ||
command: redis-server --requirepass campux123456 | ||
healthcheck: | ||
test: [ "CMD", "redis-cli", "ping" ] | ||
networks: | ||
- campux-network | ||
|
||
campux: | ||
image: rockchin/campux:latest | ||
container_name: campux | ||
ports: | ||
- 8081:8081 | ||
volumes: | ||
- ./volumes/campux/data:/app/data | ||
networks: | ||
- campux-network | ||
environment: | ||
- GIN_MODE=release | ||
|
||
campuxbot: | ||
image: rockchin/campuxbot:latest | ||
container_name: campux-bot | ||
restart: always | ||
ports: | ||
- 8282:8282 | ||
volumes: | ||
- ./volumes/campuxbot/data:/app/data | ||
environment: | ||
- TZ=Asia/Shanghai | ||
networks: | ||
- campux-network | ||
|
||
campuxutility: | ||
image: rockchin/campuxutility:latest | ||
container_name: campux-utility | ||
restart: always | ||
volumes: | ||
- ./volumes/campuxutility/data:/app/data | ||
networks: | ||
- campux-network | ||
|
||
networks: | ||
campux-network: | ||
external: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters